import './style/index.less';
import Foods from './model/Food';
import ScroePanel from './model/ScroePanel';
import Snake from './model/Snake';
import GameControl from './model/GameControl';
// 测试代码
// const foods = new Foods()
// foods.change()
// console.log(foods.X, foods.Y)

// const scorePanel = new ScroePanel();
// for (let i = 0; i <= 100; i++) {
//   scorePanel.add();
// }
// const snake = new Snake();
// setInterval(() => {
//   console.log(111)
//   snake.X += 10;
// }, 100)
const gameControl = new GameControl()